Clip Data Structure
You specify a clipping region (for example, when creating a new draw context with theQADrawContextNew
function) by filling in a clip data structure, defined by theTQAClip
data type. The clipping region determines which pixels are drawn to a device.
typedef struct TQAClip { TQAClipType clipType; TQAPlatformClip clip; } TQAClip;
Field Description
clipType
- The clip type. See "Clip Types" (page 1-38) for the values you can assign to this field.
clip
- A platform clip data structure.